laravel date validation

32

if any error in blade laravel -

 @if ($errors->any())
     @foreach ($errors->all() as $error)
         <div>{{$error}}</div>
     @endforeach
 @endif

Laravel validation date -

'start_date' => 'required|date|after:tomorrow'

Comments

Submit
0 Comments